package com.ruoyi.setmeal.client;

import com.ruoyi.common.core.web.domain.AjaxResult;
import com.ruoyi.setmeal.configuration.FeignConfiguration;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;
import java.util.Locale;

@FeignClient(value = "ruoyi-category-reggie",configuration = FeignConfiguration.class)
public interface CategoryFeignClient {
    @GetMapping("/category/type/{type}")
    public AjaxResult getCategoryList(@PathVariable("type") Long type);
}
